FROM java:8

ADD target/*.jar app.jar

ENV JAVA_OPTS=""

EXPOSE 8080

RUN sh -c 'touch /app.jar'
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.com.sfkj.cdhrsip.security.egd=file:/dev/./urandom -jar /app.jar" ]
